package cn.com.cifi.mars.bean.bo.approval;

import cn.com.cifi.mars.entity.ApprovalBillDetail;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 审批提交参数
 * @author: jyx
 * @date: 2020/9/3 9:51
 */
@Data
public class ApprovalSubmitBO {

    @ApiModelProperty(value = "审批id(首次审批填空)",name = "oaApprovalId")
    private String oaApprovalId;
    @ApiModelProperty(value = "用户账户",name = "alias")
    private String alias;
    @ApiModelProperty(value = "用户名称",name = "usercn")
    private String usercn;
    @ApiModelProperty(value = "发起人的岗位编码(非必填)",name = "postCode")
    private String postCode;
    @ApiModelProperty(value = "发起人所属部门编码(非必填)",name = "orgCode")
    private String orgCode;
    @ApiModelProperty(value = "组织机构id(非必填)",name = "startOrgCode")
    private String startOrgCode;
    @ApiModelProperty(value = "流程模板id",name = "flowKey")
    private String flowKey;
    @ApiModelProperty(value = "审批标题",name = "subject")
    private String subject;
    @ApiModelProperty(value = "审批要点说明",name = "description")
    private String description;
    @ApiModelProperty(value = "审批类型",name = "processType")
    private String processType;
    @ApiModelProperty(value = "项目id",name = "projectId")
    private String projectId;
    @ApiModelProperty(value = "流程变量",name = "vars")
    private JSONObject vars;
    @ApiModelProperty(value = "审批详情列表",name = "detailList")
    private List<ApprovalBillDetail> detailList;

}
